package com.microcore.pdf;

import java.util.HashMap;
import java.util.Map;

/**
 * @author FengJie
 * @date 2018/7/13
 */
public class Data {
    public final static Map<String, String> workSchInfoMap = new HashMap<>();
    public final static Map<String, String> channelMap = new HashMap<>();
    public final static Map<String, String> taskProcessDataMap = new HashMap<>();
    public final static Map<String, String> stepInfoMap = new HashMap<>();

    static {
        workSchInfoMap.put("id", "任务单流水号+计划编号");
        workSchInfoMap.put("taskSerialNumber", "任务单流水号");
        workSchInfoMap.put("jobTaskID", "计划编号");
        workSchInfoMap.put("creator", "计划创建者");
        workSchInfoMap.put("submitTime", "计划提交时间");
        workSchInfoMap.put("satelliteName", "卫星名称");
        workSchInfoMap.put("orbitNumber", "轨道圈号");
        workSchInfoMap.put("orbitType", "轨道类型");
        workSchInfoMap.put("taskRcvType", "计划接收模式");
        workSchInfoMap.put("taskMode", "作业方式");
        workSchInfoMap.put("status", "计划执行状态");
        workSchInfoMap.put("trackStartTime", "跟踪开始时间");
        workSchInfoMap.put("trackStopTime", "跟踪结束时间");
        workSchInfoMap.put("receivingStartTime", "记录开始时间");
        workSchInfoMap.put("receivingEndTime", "记录结束时间");
        workSchInfoMap.put("azin", "起始方位");
        workSchInfoMap.put("elin", "起始俯仰");
        workSchInfoMap.put("azOut", "结束方位");
        workSchInfoMap.put("elOut", "结束俯仰");
        workSchInfoMap.put("elTop", "最高仰角");
        workSchInfoMap.put("antennaID", "执行天线标识");
    }

    static {
        channelMap.put("id", "ID");
        channelMap.put("workSchInfoId", "数据接收与记录任务信息");
        channelMap.put("chlIndex", "序号");
        channelMap.put("chlRecvPol", "接收通道极化");
        channelMap.put("chlRecvFreq", "接收频率");
        channelMap.put("demodMode", "解调方式");
        channelMap.put("bitRate", "码速率");
        channelMap.put("decodeMode", "解码模式");//todo 这里没有定义中文名称
        channelMap.put("dC", "变频器设备编号");
        channelMap.put("demodulator", "解调器设备编号");
        channelMap.put("das", "执行记录通道编号");
    }

    static {
        taskProcessDataMap.put("id", "ID");
        taskProcessDataMap.put("stationID", "接收站代号");
        taskProcessDataMap.put("timeTag", "时间戳");
        taskProcessDataMap.put("antennaID", "天线ID");
        taskProcessDataMap.put("antennaName", "天线名称");
        taskProcessDataMap.put("taskSerialNumber", "计划编号");
        taskProcessDataMap.put("jobTaskID", "作业任务编号");
        taskProcessDataMap.put("satelliteName", "卫星名称");
        taskProcessDataMap.put("satDataBand", "数据频段");
        taskProcessDataMap.put("result", "各作业方式的执行结果");
    }

    static {
        stepInfoMap.put("id", "ID");
        stepInfoMap.put("taskProcessId", "对应任务过程表中的ID");
        stepInfoMap.put("stepNo", "步骤序号");
        stepInfoMap.put("stepName", "步骤名称");
        stepInfoMap.put("stepStatus", "执行状态");
        stepInfoMap.put("reason", "失败原因");
        stepInfoMap.put("startTime", "开始时间");
        stepInfoMap.put("endTime", "结束时间");
    }
}
